#! /bin/bash
#cd text_classify/data_preprocessing/
#python3 cat_taobao_to_youzan.py
#cd ../../
# python text_classify/features/feature_extractor.py train_data  CountVector_model_out tfidf_model_out  num_titles_in_each_category minimum_titles_in_category train_data_for_sklearn
python text_classify/features/feature_extractor.py ~/data/train20_all.tsv ~/data/models/cv20_py2.pkl ~/data/models/tfidf20_py2.pkl ~/data/cat_count_all.txt 30 ~/data/models/data20_py2.pkl
python text_classify/models/train_lg.py ~/data/models/data20_py2.pkl ~/data/models/lg20_py2.pkl
